package com.zxxnj.MyThreadPool;

import java.util.concurrent.LinkedBlockingQueue;

public class MyTaskQueue extends LinkedBlockingQueue<Runnable> {
    public MyTaskQueue() {
    }

    public MyTaskQueue(int capacity) {
        super(capacity);
    }

    @Override
    public boolean offer(Runnable o) {
        return false;
    }

    public boolean force(Runnable o) {
        return super.offer(o);
    }
}
